package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum AccumulationFundLevelEnum implements IBaseEnum<Integer> {
    /**
     * 0.无要求 1.连续缴纳6个月及以上 2.缴纳未满6个月 3.无公积金
     */
    NO_REQUIRED(0, "无要求",false),
    ABOVE6MONTH(1, "连续缴纳6个月及以上",true),
    ABOVE_NO6MONTH(2, "缴纳未满6个月",false),
    NO_ACCUMULATION_FUND(3, "无公积金",false);


    private final Integer value;

    private final String label;

    private final Boolean excellent;
    AccumulationFundLevelEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
